/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.qlzb.taskmanagement.persistentData.entity.tower;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.util.Date;

/**
 * 基站告警记录Entity
 *
 * @author lqin
 * @version 2017-07-10
 */
@Entity(name = "tower_power_cut_six")
public class TowerPowerCut {
    @Id
    @GeneratedValue(generator = "uuid")
    @GenericGenerator(name = "uuid", strategy = "uuid")
    private String id;
    @Column(name = "city_id")
    private String  city;        // 所属区域
    @Column(name = "area_id")
    private String area;        // 所属区域
    @Column(name = "fsu_warning_id")
    private String fsuWarningId;        // 告警id
    @Column(name = "trouble_ticket_no")
    private String troubleTicketNo;        // 故障单编号
    @Column(name = "station_code")
    private String stationCode;        // 站址编码
    @Column(name = "warning_type")
    private String warningType;         //告警类型
    @Column(name = "warning_start_date")
    private Date warningStartDate;      //告警发生时间
    @Column(name = "warning_stop_date")
    private Date warningStopDate;        // 告警清除时间

    @Column(name = "power_cut_time")
    private Integer powerCutTime;        // 告警持续时间（分钟）
    @Column(name = "fsu_station_state")
    private String fsuStationState;
    @Column(name = "equp_warning_start_date")
    private Date equpWarningStartDate;      // 设备告警开始时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getFsuWarningId() {
        return fsuWarningId;
    }

    public void setFsuWarningId(String fsuWarningId) {
        this.fsuWarningId = fsuWarningId;
    }

    public String getTroubleTicketNo() {
        return troubleTicketNo;
    }

    public void setTroubleTicketNo(String troubleTicketNo) {
        this.troubleTicketNo = troubleTicketNo;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public String getWarningType() {
        return warningType;
    }

    public void setWarningType(String warningType) {
        this.warningType = warningType;
    }

    public Date getWarningStartDate() {
        return warningStartDate;
    }

    public void setWarningStartDate(Date warningStartDate) {
        this.warningStartDate = warningStartDate;
    }

    public Date getWarningStopDate() {
        return warningStopDate;
    }

    public void setWarningStopDate(Date warningStopDate) {
        this.warningStopDate = warningStopDate;
    }

    public Integer getPowerCutTime() {
        return powerCutTime;
    }

    public void setPowerCutTime(Integer powerCutTime) {
        this.powerCutTime = powerCutTime;
    }

    public String getFsuStationState() {
        return fsuStationState;
    }

    public void setFsuStationState(String fsuStationState) {
        this.fsuStationState = fsuStationState;
    }

    public Date getEqupWarningStartDate() {
        return equpWarningStartDate;
    }

    public void setEqupWarningStartDate(Date equpWarningStartDate) {
        this.equpWarningStartDate = equpWarningStartDate;
    }
}
